package cn.sunzq.springdata.elasticsearch.demo.querydemo.service;

import cn.sunzq.springdata.elasticsearch.demo.base.response.ResponseDTO;

/**
 * @创建人 孙中泉
 * @创建时间 2021/7/26
 * @描述
 */
public interface QueryDemoService {

    ResponseDTO<Boolean> indexExist(String indexName, Integer clientType);

    ResponseDTO<Boolean> createIndex(String indexName, Integer clientType);

}
